import { Tabs } from "antd";
import { ModeCard } from "./styled";
import SelfTest from "./components/selfTest";
import AiInterview from "./components/aiInterview";
import CodeTest from "./components/codeTest";
import WrittenTest from "./components/writtenTest";
import VideoTest from "./components/videoTest";

const ExamMode = () => {
  return (
    <ModeCard>
      <Tabs defaultActiveKey="1">
        <Tabs.TabPane tab="练习" key="1">
          <SelfTest />
        </Tabs.TabPane>
        {/* <Tabs.TabPane tab="编程题" key="2">
          <CodeTest />
        </Tabs.TabPane> */}
        <Tabs.TabPane tab="笔试" key="2">
          <WrittenTest />
        </Tabs.TabPane>
        <Tabs.TabPane tab="ai语音面试" key="3">
          <AiInterview />
        </Tabs.TabPane>
        <Tabs.TabPane tab="视频面试" key="4">
          <VideoTest />
        </Tabs.TabPane>
      </Tabs>
    </ModeCard>
  );
};

export default ExamMode;
